<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<link rel="stylesheet" type="text/css" media="screen" href="/MemberTest/css/member_main.css"/>
<script type="text/javascript"  src="/MemberTest/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="/MemberTest/js/member_jion.js"></script>
<form action="join.do" name="form1" method="post" onsubmit="return member_join();" enctype="multipart/form-data">
<input type="hidden" name="admin_flag" value="N">
<center>
	<table class="join">
		<tr>
			<td colspan="5" align="right">
				<a href="/MemberTest/Login.jsp">메인 페이지로 이동</a>
				<a href="/MemberTest/member/searchId.jsp" class="common">아이디</a>/
				<a href="/MemberTest/member/searchPass.jsp" class="common">비밀번호 찾기</a>
			</td>
		</tr>
		<tr>
			<th align="left" nowrap>이름</th>
			<td align="left" nowrap width="20"><input type="text" name="name" size="15"></td>
			<th align="left" nowrap>주민등록번호</th>
			<td align="left" nowrap><input type="text" name="registration_number1" maxlength="6" onblur="chck();" size="6">-<input type="password" name="registration_number2" maxlength="7" onblur="chck()" size="7"></td>
		</tr>
		<tr>
			<th align="left" nowrap>아이디</th>
			<td  colspan="3" align="left" nowrap>
			<input id="id"  type="text" name="member_id">&nbsp;&nbsp;<input type="button" id="chcek_id" value="중복확인">
			 <span id="result_id"></span>
			</td >
		</tr>
		<tr>
			<th align="left" nowrap>비빌번호</th>
			<td colspan="4"  align="left" nowrap><input id="mem_pwd" name="memScrtNo" type="password" maxLength="15" style="width: 155px;" onblur="trim(this.value)">
			 <span class="t_small">띄어쓰기	없는 영문 대소문자, 숫자 포함 6자 ~ 15자 사용가능 </span></td>
		</tr>
		<tr>
			<th align="left" nowrap>비밀번호확인</th>
			<td align="left" colspan="3" nowrap><input id="mem_re_pwd" name="confirm_password" type="password" maxLength="15"  onblur="javascript:if(document.form1.memScrtNo.value != '' && this.value == ''){document.getElementById('layer').innerHTML ='<font color=red >비밀번호를 한번 더 입력 하십시오.</font>';  }	
			else if(document.form1.memScrtNo.value != this.value) {document.getElementById('layer').innerHTML ='<font color=red >입력하신 비밀번호가 일치하지 않습니다.</font>'; document.form1.mem_re_pwd.value='';}
			else {document.getElementById('layer').innerHTML ='<font color=red >비밀번호가 일치합니다.</font>'; }
			"style="width: 155px;"> 
				<span class="t_small" id="layer">비밀번호를 한번 더 입력해 주세요</span>
			</td>
		</tr>
		<tr>
			<th align="left" nowrap>이메일주소</th>
			<td colspan="3" align="left" nowrap><input type="text" name="email">&nbsp;@&nbsp;<input type="text" name="email_type">
				<select name="email_chk" onchange="emailchked();">
					 <option value='01'>직접입력</option>
						<option value='02'>naver.com</option>
						<option value='03'>hanmail.net</option>
						<option value='04'>hotmail.com</option>
						<option value='05'>nate.com</option>
						<option value='06'>yahoo.co.kr</option>
						<option value='07'>empas.com</option>
						<option value='08'>dreamwiz.com</option>
						<option value='09'>freechal.com</option>
						<option value='10'>lycos.co.kr</option>
						<option value='11'>korea.com</option>
						<option value='12'>gmail.com</option>
						<option value='13'>hanmir.com</option>
						<option value='14'>paran.com</option>
				</select>
			</td>
		</tr>
		<tr>
			<th align="left" nowrap>성별</th>
			<td align="left" nowrap colspan="3">
				<input type="radio" name="gender" checked="checked" value="M">남
				<input type="radio" name="gender" value="F">여
			</td>
		</tr>
		<tr>
			<th align="left" nowrap>이메일수신여부</th>
			<td colspan="3" align="left" nowrap>
				<input type="radio" name="email_flag" value="Y" checked="checked">수신동의
				<input type="radio" name="email_flag" value="N">수신하지 않음
			</td>
		</tr>
		<tr >
			<th align="left" nowrap>전화번호</th>
			<td colspan="3" align="left" nowrap><select name="tel_no01"><option value="선택">선택</option>
						<option value='000'>전국번호</option>
							<option value='02'>02</option>
							<option value='031'>031</option>
							<option value='032'>032</option>
							<option value='033'>033</option>
							<option value='041'>041</option>
							<option value='042'>042</option>
							<option value='043'>043</option>
							<option value='051'>051</option>
							<option value='052'>052</option>
							<option value='053'>053</option>
							<option value='054'>054</option>
							<option value='055'>055</option>
							<option value='061'>061</option>
							<option value='062'>062</option>
							<option value='063'>063</option>
							<option value='064'>064</option>
							<option value='010'>010</option>
							<option value='011'>011</option>
							<option value='016'>016</option>
							<option value='017'>017</option>
							<option value='018'>018</option>
							<option value='019'>019</option>
							<option value='0130'>0130</option>
							<option value='080'>080</option>
							<option value='070'>070</option>
							<option value='0502'>0502</option>
							<option value='0507'>0507</option>
							<option value='0504'>0504</option>
							<option value='0503'>0503</option>
							<option value='0506'>0506</option>
							<option value='0505'>0505</option>
							<option value='0303'>0303</option>
			</select>
				-<input type="text" name="tel_no02" maxlength="4" size="4" onblur="tel_ck()"> -<input type="text" name="tel_no03" maxlength="4" size="4" onblur="tel_ck()">
			</td>
		</tr>
		<tr>
			<th align="left" nowrap>휴대폰번호</th>
			<td colspan="3" align="left" nowrap>통신사선택
				<input type="radio" name="press_association" value="SKT">SKT
				<input type="radio" name="press_association" value="KTF" checked="checked">KTF
				<input type="radio" name="press_association" value="LGT">LGT
				&nbsp;&nbsp;
				<select  name="phone_no01" >
					<option value="선택">선택</option>
						<option value='010'>010</option>
						<option value='011'>011</option>
						<option value='016'>016</option>
						<option value='017'>017</option>
						<option value='018'>018</option>
						<option value='019'>019</option>
						<option value='0130'>0130</option>
				</select>
				-<input type="text" name="phone_no02" maxlength="4" size="6" onblur="phone_ck()">
				-<input type="text" name="phone_no03" maxlength="4" size="7" onblur="phone_ck()">
			</td>
		</tr>
		<tr>
			<th nowrap>주소</th>
			<td colspan="3" align="left" nowrap>
				<input type="text" name="zipcode1" size="3" maxlength="3">
				-<input type="text" name="zipcode2" size="3" maxlength="3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<input type="button" value="우편번호 찾기" onclick="searchAddress()"><br>
				<input type="text" name="address" size="40">&nbsp;
				<input type="text" name="address_detail" value="상세 주소 입력" onfocus="javascript:document.form1.address_detail.value='';">
			</td>
		</tr>
		<tr>
			<th align="left" nowrap>사진업로드</th>
			<td align="left" nowrap colspan="3">
				<input type="file" name="upfile">
			</td>
		</tr>
		<tr>
			<th align="left" nowrap>자기 소개</th>
			<td align="left" colspan="4" >
				<textarea rows="10" cols="70" name="self_introduction" onblur="textarea_chck()"></textarea>
			</td>
		</tr>
		<tr>
			<td colspan="4" align="right">
				<input type="submit" value="등 록">
				<input type="reset" value="등록 취소">
			</td>
		</tr>
	</table>
</center>
</form>
